<?php
// +----------------------------------------------------------------------
// | Bwsaas
// +----------------------------------------------------------------------
// | Copyright (c) 2015~2020 http://www.buwangyun.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Gitee ( https://gitee.com/buwangyun/bwsaas )
// +----------------------------------------------------------------------
// | Author: buwangyun <hnlg666@163.com>
// +----------------------------------------------------------------------
// | Date: 2020-11-19 11:02:53
// +----------------------------------------------------------------------

namespace buwang\event;

/**
 * 初始化配置信息
 * Class Miniapp
 * @package buwang\event
 */
class Miniapp
{
    public function handle()
    {
        //设置应用数据表前缀
        set_miniapp_database_prefix(app('http')->getName());
    }
}
